import React, { Component } from 'react'
import Searchitem from '../searchitem/searchitem'

export default class Searchlist extends Component {
    render() {
        return (
            <div>
                {this.props.list.map((v,i)=>{
                    return <Searchitem data={v} key={i}/>
                })}
            </div>
        )
    }
}
